<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">



		</script>
		<!-- <script src="m1.js"></script> -->
		<!-- <script src="m2.js"></script> -->
		<script type="module">
			//分别导入
			import {name, age, fn} from './m2.js';
			console.log(name);
			console.log(age);
			fn();
			
			//默认导入
			import a from './m1.js';
			// console.log(a.abc);
			// console.log(a.def);
			console.log(a.name);
			console.log(a.sex);
		</script>
	</head>
	<body>
	</body>
</html>
